Vcenter NamespaceManagement InfrastructurePolicies MatchSpec
The Vcenter NamespaceManagement InfrastructurePolicies MatchSpec schema defines comprehensive matching criteria for policies.
This schema was added in vSphere API 9.1.0.0.
{
"op": "string",
"match": [
"Vcenter NamespaceManagement InfrastructurePolicies MatchSpec Object"
],
"workload": {
"guest": {
"guest_id": {
"op": "string",
"value": "string"
},
"guest_family": {
"op": "string",
"value": "string"
}
},
"labels": [
{
"key": "string",
"operator": "string",
"values": [
"string"
]
}
],
"kind": "string"
}
}
Describes the boolean operation used to evaluate the elements from the match field. This field does not apply to the workload field. It is always boolean AND'd together with the results of the match field.
For more information see: Vcenter NamespaceManagement InfrastructurePolicies BooleanOperation.
This property was added in vSphere API 9.1.0.0.
If missing or null, defaults to AND.
Describes additional matchers that are evaluated using the boolean operation described by the op field.
This property was added in vSphere API 9.1.0.0.
If missing or null, no additional matching is performed.
Matches information about the workload.
This property was added in vSphere API 9.1.0.0.
If missing or null, no workload matching is performed.